package com.jinbei.mapper;

import com.jinbei.domain.UserGold;

import java.util.List;

public interface UserGoldMapper {

    /**
     * @author zflu
     * @Description   用户充值元宝记录批量新增
     * @date 2018/9/17 16:27
     * @param userGolds
     * @return int
     */
    int insertUserGoldList(List<UserGold> userGolds);

    /**
     * @author zflu
     * @Description  删除用户充值元宝记录，根据订单id
     * @date 2018/9/17 16:57
     * @param payId
     * @return int
     */
    int deleteUserGoldByPayId(Integer payId);

    /**
     * @author zflu
     * @Description  查询用户充值元宝记录列表
     * @date 2018/9/17 17:04
     * @param payId
     * @return java.util.List<com.jinbei.domain.UserGold>
     */
    List<UserGold> queryUserGoldList(Integer payId);
}